<?php
class indexMod extends commonMod{

	public function index(){

		$newsarr = __query("SELECT * FROM {tabpre}news WHERE `show`=1 and `recover`=0 ORDER BY id desc limit 0,1");

		echo getAds(981,1);

		// $this->assign("newsarr", $newsarr[0]);
		// $this->display();
	}
}